package com.feige.dao;

import com.feige.pojo.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户角色表 Mapper 接口
 * </p>
 *
 * @author feige
 * @since 2020-07-20
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    //根据用户ID获取对应权限
    List<Long> getRoleId(Long userId);


}
